package com.cn.mmd.model;

public class Course {
    private String courseid;//课程编号

    private String coursename;//课程名

    private String coursebeginend;//课程起止周

    private Float coursecredit;//课程学分

    private String coursecollege;//课程开课学院

    private String courserequest;//课程教师需求

    private String coursenature;//课程性质

    private String courseteacherid;

    private String courseteacher;//课程任课教师

    private Integer coursecollect;//课程收藏数

    private String coursetime;//课程时间格式周几第几，几节{第几-第几周}多个用；分隔

    private String courseclasss;//课程教学组

    private String coursecollegec;//学校

    private String courseclassroom;//课程教室

    private Integer startrow;         //查第几页

    private Integer pageSize;         //分页有多少条数据

    public Course(){

    }

    public Course(String courseclassroom,String coursetime,String courseid){
        this.courseclassroom=courseclassroom;
        this.coursetime=coursetime;
        this.courseid= courseid;
    }


    
    public Course(String courseid,String courseteacher){
        this.courseid=courseid;
        this.courseteacher = courseteacher;
    }

    public Course(String courseid,String coursename,String coursebeginend,
                  Float coursecredit,String coursecollege,String coursetime,
                  String courseclassroom,String courserequest,String courseteacher,
                  String coursenature,String courseclasss,String coursecollegec,String courseteacherid){
        this.courseid = courseid;
        this.coursename=coursename;
        this.coursebeginend=coursebeginend;
        this.coursecredit=coursecredit;
        this.coursecollege=coursecollege;
        this.coursetime=coursetime;
        this.courseclassroom=courseclassroom;
        this.courserequest=courserequest;
        this.courseteacher=courseteacher;
        this.coursenature=coursenature;
        this.courseclasss=courseclasss;
        this.coursecollegec=coursecollegec;
        this.courseteacherid = courseteacherid;
    }

    public String getCourseteacherid() {
        return courseteacherid;
    }

    public void setCourseteacherid(String courseteacherid) {
        this.courseteacherid = courseteacherid;
    }

    public Integer getStartrow() {
        return startrow;
    }

    public void setStartrow(Integer startrow) {
        this.startrow = startrow;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getCourseid() {
        return courseid;
    }

    public void setCourseid(String courseid) {
        this.courseid = courseid == null ? null : courseid.trim();
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename == null ? null : coursename.trim();
    }

    public String getCoursebeginend() {
        return coursebeginend;
    }

    public void setCoursebeginend(String coursebeginend) {
        this.coursebeginend = coursebeginend == null ? null : coursebeginend.trim();
    }

    public Float getCoursecredit() {
        return coursecredit;
    }

    public void setCoursecredit(Float coursecredit) {
        this.coursecredit = coursecredit;
    }

    public String getCoursecollege() {
        return coursecollege;
    }

    public void setCoursecollege(String coursecollege) {
        this.coursecollege = coursecollege == null ? null : coursecollege.trim();
    }

    public String getCourserequest() {
        return courserequest;
    }

    public void setCourserequest(String courserequest) {
        this.courserequest = courserequest == null ? null : courserequest.trim();
    }

    public String getCoursenature() {
        return coursenature;
    }

    public void setCoursenature(String coursenature) {
        this.coursenature = coursenature == null ? null : coursenature.trim();
    }

    public String getCourseteacher() {
        return courseteacher;
    }

    public void setCourseteacher(String courseteacher) {
        this.courseteacher = courseteacher == null ? null : courseteacher.trim();
    }

    public Integer getCoursecollect() {
        return coursecollect;
    }

    public void setCoursecollect(Integer coursecollect) {
        this.coursecollect = coursecollect;
    }

    public String getCoursetime() {
        return coursetime;
    }

    public void setCoursetime(String coursetime) {
        this.coursetime = coursetime == null ? null : coursetime.trim();
    }

    public String getCourseclasss() {
        return courseclasss;
    }

    public void setCourseclasss(String courseclasss) {
        this.courseclasss = courseclasss == null ? null : courseclasss.trim();
    }

    public String getCoursecollegec() {
        return coursecollegec;
    }

    public void setCoursecollegec(String coursecollegec) {
        this.coursecollegec = coursecollegec == null ? null : coursecollegec.trim();
    }

    public String getCourseclassroom() {
        return courseclassroom;
    }

    public void setCourseclassroom(String courseclassroom) {
        this.courseclassroom = courseclassroom == null ? null : courseclassroom.trim();
    }
}